package com.ktwlsoft.fundmanage.domain.entity.sms;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.Map;

/**
 * 短信发送请求参数
 *
 * @version 1.0
 */
@Getter
@Setter
public class SendSms {
    /**
     * 短信渠道
     */
    @NotEmpty(message = "短信渠道不能为空")
    @ApiModelProperty(value = "短信渠道")
    private String smsChannel;

    /**
     * 短信模板编码
     */
    @NotEmpty(message = "短信模板编码不能为空")
    @ApiModelProperty(value = "短信模板编码")
    private String smsTemplateEncoded;

    /**
     * 待发送手机号
     */
    @NotEmpty(message = "待发送手机号不能为空")
    @ApiModelProperty(value = "待发送手机号")
    private String[] phoneNumbers;

    /**
     * 短信模板变量
     */
    @ApiModelProperty(value = "短信模板变量")
    private Map<String, String> paramMap;
}